package com.project.bean;

import java.time.LocalDate;

public class UserBean {
    private int id;
    private String userName;
    private String tel;
    private LocalDate birthday;

    public UserBean() {
    }

    public UserBean(int id, String userName, String tel, LocalDate birthday) {
        this.id = id;
        this.userName = userName;
        this.tel = tel;
        this.birthday = birthday;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", tel='" + tel + '\'' +
                ", birthday=" + birthday +
                '}';
    }
}
